<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>袁衣一中国</title>
<load type="css" href='__PUBLIC__/Css/home.css' />
<load href="__PUBLIC__/Js/jquery-1.4.min.js" />
<load href="__PUBLIC__/Js/Base.js" />
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<load href="__PUBLIC__/Js/editor/kindeditor.js" />
<script type="text/javascript">
var seriesStr = new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
jQuery(document).ready(function(){
    jQuery("#detail").click(function(event){
        if(jQuery("#detail").text()=='查看更多详情>>'){
            jQuery("#detail").text('关闭更多详情>>');
            ThinkAjax.send('__URL__/updateOpenOrClose','ajax=1&mcd_detailflag=0&id='+jQuery("#mcd_id").val(),'','');
        }else{
            jQuery("#detail").text('查看更多详情>>');
            ThinkAjax.send('__URL__/updateOpenOrClose','ajax=1&mcd_detailflag=1&id='+jQuery("#mcd_id").val(),'','');
        }
        jQuery("#detailc").slideToggle(500);
	 })
});

KE.show({
    id : 'editmoretext',
	resizeMode : 1,
    cssPath : '__PUBLIC__/Css/index.css',
    items : [
    'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
    'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
    'insertunorderedlist', '|', 'emoticons', 'image', 'link']
});
    
    
function editSeries(index){
	jQuery('#'+index).attr('innerHTML','');
	var input = '<input id="'+index+'_input" onblur="javascript:updateSeries(\''+index+'\')" type="text"/>';
	var i = jQuery('#edit').append(input);
}
function updateSeries(index){
	var value = jQuery('#'+index+'_input').attr('value');
	if(jQuery.trim(value)==''){
		alert('请输入商品系列!');
		jQuery('#'+index+'_input').focus();
		return;
	}
	jQuery('#'+index).attr('innerHTML',value);
	jQuery('#'+index+'_input').remove();
}
jQuery(document).ready(function(){
	var speed = 500;
	for(i=0;i<seriesStr.length;i++){
		if(Number(jQuery('#store_'+seriesStr[i]+'_lnum').attr('value'))>=0){
			jQuery('#store_'+seriesStr[i]).slideDown((Number(jQuery('#store_'+seriesStr[i]+'_lnum').attr('value'))+1)*speed);
		}
	}
	
	for(i=0;i<seriesStr.length;i++){
		jQuery("#createShelves_"+seriesStr[i]).click(function(event){
			event = event? event: window.event;
			event = event? event:eventTag;
			var obj = event.srcElement ? event.srcElement:event.target; 
			event.stopPropagation();
			var offset = jQuery(obj).offset();
			jQuery('#indexShelves').attr('value',jQuery(this).attr('id').substr(jQuery(this).attr('id').length-1,1));
			jQuery('#shelvesPop').css({top:offset.top + jQuery(obj).height() + "px",left:offset.left});
			jQuery('#shelvesPop').slideDown(speed);
		})
		jQuery("#series_"+seriesStr[i]).click(function(event){
			event = event? event: window.event
					var obj = event.srcElement ? event.srcElement:event.target; 
			event.stopPropagation();
			var value = jQuery.trim(jQuery(obj).attr('innerHTML'));
			jQuery('#txtSeries').attr('value',value);
			jQuery('#indexSeries').attr('value',value);
			var offset = jQuery(obj).offset();
			jQuery('#indexSeries').attr('value',jQuery(this).attr('id'));
			jQuery('#seriesPop').css({top:offset.top + jQuery(obj).height() + "px",left:offset.left});
			jQuery('#seriesPop').slideDown(speed);
		 })

	}
	 jQuery("#img1").click(function(event){
		event = event? event: window.event;
		var obj = event.srcElement ? event.srcElement:event.target; 
		event.stopPropagation();
		if(jQuery("#img1name").attr('value')!=""){
			jQuery("#img").attr("innerHTML",jQuery("#img1").attr("innerHTML"));
			jQuery("#img").children().attr('style','max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);');
			jQuery("#imgname").attr('value',jQuery("#img1name").attr('value'));
		}
	 })
 	 jQuery("#img2").click(function(event){
		event = event? event: window.event;
		var obj = event.srcElement ? event.srcElement:event.target; 
		event.stopPropagation();
		if(jQuery("#img2name").attr('value')!=""){
			jQuery("#img").attr("innerHTML",jQuery("#img2").attr("innerHTML"));
			jQuery("#img").children().attr('style','max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);');
			jQuery("#imgname").attr('value',jQuery("#img2name").attr('value'));
		}
	 })
 	jQuery("#img3").click(function(event){
		event = event? event: window.event;
		var obj = event.srcElement ? event.srcElement:event.target; 
		event.stopPropagation();
		if(jQuery("#img3name").attr('value')!=""){
			jQuery("#img").attr("innerHTML",jQuery("#img3").attr("innerHTML"));
			jQuery("#img").children().attr('style','max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);');
			jQuery("#imgname").attr('value',jQuery("#img3name").attr('value'));
		}
	 })
 	 jQuery("#img4").click(function(event){
		event = event? event: window.event;
		var obj = event.srcElement ? event.srcElement:event.target; 
		event.stopPropagation();
		if(jQuery("#img4name").attr('value')!=""){
			jQuery("#img").attr("innerHTML",jQuery("#img4").attr("innerHTML"));
			jQuery("#img").children().attr('style','max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);');
			jQuery("#imgname").attr('value',jQuery("#img4name").attr('value'));
		}
	 })
	 jQuery("#img5").click(function(event){
		event = event? event: window.event;
		var obj = event.srcElement ? event.srcElement:event.target; 
		event.stopPropagation();
		if(jQuery("#img5name").attr('value')!=""){
			jQuery("#img").attr("innerHTML",jQuery("#img5").attr("innerHTML"));
			jQuery("#img").children().attr('style','max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);');
			jQuery("#imgname").attr('value',jQuery("#img5name").attr('value'));
		}
	 })
		 
	jQuery("#test").click(function(){
		jQuery('#store').slideDown(speed);
		jQuery('#store').slideUp(speed);
	})

	jQuery("#showall").click(function(event){
		if(!jQuery("#s").attr("checked")){
			for(i=0;i<seriesStr.length;i++){
				jQuery('#store_'+seriesStr[i]).slideDown(speed);
			}
		}else{
			for(i=0;i<seriesStr.length;i++){
				jQuery('#store_'+seriesStr[i]).slideUp(speed);
			}			
		}
	 })
	 
	jQuery("#showcheck").click(function(event){
		if(!jQuery("#a").attr("checked")){
			for(i=0;i<seriesStr.length;i++){
				if(jQuery('#checkbox_'+seriesStr[i]).attr("checked")){
					jQuery('#store_'+seriesStr[i]).slideDown(speed);
				}
			}
		}else{
			for(i=0;i<seriesStr.length;i++){
				if(jQuery('#checkbox_'+seriesStr[i]).attr("checked")){
					jQuery('#store_'+seriesStr[i]).slideUp(speed);
				}
			}			
		}
	 })
	
})
    
function cancelPop(div){
	var speed = 500;
	jQuery('#'+div).slideUp(speed);
	jQuery('#txtSeries').attr('value');
}


function updateSeries(){
	var value = jQuery('#txtSeries').attr('value');
	var series = jQuery('#indexSeries').attr('value');
	var mid = jQuery('#mid').attr('value');
	if(jQuery.trim(value)==''){
		alert('请输入商品系列!');
		jQuery('#txtSeries').focus();
		return;
	}
	ThinkAjax.send('__URL__/updateSeries','ajax=1&value='+value+'&series='+series+'&level=2&mid='+mid,complete,'');
}
function complete(data,status,info){
	var speed = 500;
	if (status==1)
	{
		var seriescount = Number(jQuery('#seriescount').attr('innerHTML'));
		jQuery('#commoditycount').attr('innerHTML',seriescount+1);
		jQuery('#txtSeries').attr('value','');
		jQuery('#indexSeries').attr('value','');
		jQuery('#'+data.series).attr('innerHTML',data.value);
		jQuery('#seriesPop').slideUp(speed);
	}else{
		alert('更新商品系列失败！');
	}
}
function createShelves(){
	var speed = 500;
	var value = jQuery('#txtShelves').attr('value');
	var Shelves = jQuery('#indexShelves').attr('value');
	var seriesId = jQuery('#seriesId').attr('value')
	var mid = jQuery('#mid').attr('value');
	if(!(/^(\+)?\d+$/.test( value ))){
	    alert("货架数必须是正整数！"); 
	    jQuery('#txtShelves').focus();
	    return ;  
	}

	ThinkAjax.send('__URL__/addCommodity','ajax=1&count='+value+'&series='+Shelves+'&level=2&mid='+mid+'&seriesId='+seriesId,completeCreate,'');

}

function completeCreate(data,status,info){
	var speed = 500;
	var value = Number(data.count);
	var Shelves = jQuery('#indexShelves').attr('value');
	var snum  = Number(jQuery('#store_'+Shelves+'_snum').attr('value'));  //最后一行商品个数
	var lnum  = Number(jQuery('#store_'+Shelves+'_lnum').attr('value'));  //最大行索引
	var level = jQuery('#level').attr('value');
	var lacknum = snum==0?0:(5-snum);  //最后一行剩余空位
	var sunum = value-lacknum;//去除最后一样剩余的空位	
	
	if (status==0){
		alert(info);
		return;
	}
	
	if(snum!=0){
		strRemnant = '';
		for(i=0;i<(5-snum);i++){
			strRemnant += createTemplate(data.mcd_id[i],level);
		}
		jQuery('#shelves_'+Shelves+'_'+lnum).append(strRemnant);
	}
	var result = parseInt(sunum/5);  //新建整行数
	var remnant = sunum%5;			//最后一行个数
	var lineCount = result;
	if(remnant!=0){
		lineCount += 1;
	}
	for(i=lnum+1;i<=lnum+lineCount;i++){
		if(i%2==0){
			str = '<div id="shelves_'+Shelves+'_'+i+'" style="width:100%;height:255px;background:#dfdfdd;">';
		}else{
			str = '<div id="shelves_'+Shelves+'_'+i+'" style="width:100%;height:255px;">';
		}
		str += '</div>';
		jQuery('#store_'+Shelves).append(str);
	}
	var tempLineCount = remnant==0?lnum+lineCount+1:lnum+lineCount;
	for(i=lnum+1,t=0;i<tempLineCount;i++,t++){
		var str = "";
		for(k=0,j=t*5+lacknum;(j<data.mcd_id.length)&&k<5;k++,j++){
			str += createTemplate(data.mcd_id[j],level);
		}
		jQuery('#shelves_'+Shelves+'_'+i).append(str);
	}

	if(remnant!=0){
		strRemnant = '';
		for(i=result*5+lacknum;i<value;i++){
			strRemnant += createTemplate(data.mcd_id[i],level);
		}
		jQuery('#shelves_'+Shelves+'_'+(lnum+lineCount)).append(strRemnant);
	}
	if(snum==0&&lnum==0&&value!=0){
		var seriescount = Number(jQuery('#seriescount').attr('innerHTML'));
		jQuery('#commoditycount').attr('innerHTML',seriescount+1);
	}
	var commoditycount_s = Number(jQuery('#commoditycount_'+Shelves).attr('innerHTML'));
	var commoditycount = Number(jQuery('#commoditycount').attr('innerHTML'));
	jQuery('#commoditycount').attr('innerHTML',commoditycount+value);
	jQuery('#commoditycount_'+Shelves).attr('innerHTML',commoditycount_s+value);
	jQuery('#store_'+Shelves+'_lnum').attr('value',lnum+lineCount);
	jQuery('#store_'+Shelves+'_snum').attr('value',remnant);
	jQuery('#store_'+Shelves).slideDown(speed);
	jQuery('#shelvesPop').slideUp(speed);
}

function createTemplate(id,level){
	strTemplate = '<div id="'+id+'" class="mcd_id">';
	strTemplate += '    <div class="mcd_content"><a href="__URL__/showCommodity/mcd_mid/'+id+'/level/'+level+'"><span class="storein">点击进入货品上架</span></a></div>';
	strTemplate += '    <div class="canshu">';
	strTemplate += '        <ul>';
	strTemplate += '            <li>货号：</li>';
	strTemplate += '            <li>名称：</li>';
	strTemplate += '            <li>价格：</li>';
	strTemplate += '            <li>件数：</li>';
	strTemplate += '            <div class="canshu_delete"><a href="javascript:deleteStore(\''+id+'\')">删除</a></div>';
	strTemplate += '        </ul>';
	strTemplate += '    </div>';
	strTemplate += '</div>'; 
	return strTemplate;
}

function deleteStore(id){
	ThinkAjax.send('__URL__/deleteCommodity','ajax=1&id='+id,completeDelete,'');	
}
function completeDelete(data,status,info){
	if (status==0){
		alert(info);
		return;
	}
	jQuery("#"+data).remove();
	var Shelves = data.substr(-7,1);
	var commoditycount_s = Number(jQuery('#commoditycount_'+Shelves).attr('innerHTML'));
	var commoditycount = Number(jQuery('#commoditycount').attr('innerHTML'));
	jQuery('#commoditycount_'+Shelves).attr('innerHTML',commoditycount_s-1);
	jQuery('#commoditycount').attr('innerHTML',commoditycount-1);
	
}

function showOrHideSeries(sid,type,shelves){
	ThinkAjax.send('__URL__/showOrHideSeries','ajax=1&series_sid='+sid+'&type='+type+'&shelves='+shelves,completeShowOrHide,'');
}
function completeShowOrHide(data,status,info){
	if(status==0){
		alert(info);
		return;
	}
	var str = data.type=='1'?'<a href="javascript:showOrHideSeries(\''+data.series_sid+'\',\'0\',\''+data.shelves+'\')">显示</a>':'<a href="javascript:showOrHideSeries(\''+data.series_sid+'\',\'1\',\''+data.shelves+'\')">隐藏</a>';
	jQuery('#showOrHide_'+data.shelves).attr('innerHTML',str);
	
}

function active(id){
	ThinkAjax.send('__URL__/checkActive','ajax=1&id='+id,completeCheckActive,'');
}
function completeCheckActive(data,status,info){
	switch(status){
	case 0:
		showUpload();
		break;
	case 1:
		showActive(data.id);
		break;
	case 2:
		alert(info);
		return;
		break;
	}
}
function showActive(id){
	var str = "激活货架上传提示：\n";
	str += "激活货架后将有168小时自由更换上传货品的时间....\n";
	str += "计时将从货架激活时间算起....\n";
	str += "168小时后系统将自动锁定货架....\n";
	str += "锁定后商品可永久保留使用....\n";
	str += "更换再次激活....\n";
	str += "激活时系统会自动扣除1点额数....\n";
	str += "确定激活或取消....\n";
	var result = confirm(str);
	if(result == false){
	}else{
		ThinkAjax.send('__URL__/active','ajax=1&id='+id,completeActive,'');
	}	
}
function completeActive(data,status,info){
	if(status==0){
		alert(info);
		return;
	}
	//var str = data=='1'?'<a href="javascript:showOrHideSeries(\'{$series.series_sid}\',\'0\',\'A\')">显示</a>':'<a href="javascript:showOrHideSeries(\'{$series.series_sid}\',\'1\',\'A\')">隐藏</a>';
	jQuery('#pointcard').attr('innerHTML',data);
	showUpload();
		
}

function showUpload(){
	jQuery("<div id='mask' style='width:100%;height:"+jQuery(document).height()+"px;position:absolute; background-color:#dfdfdf;left:0;top:0;z-index:2;'></div>").appendTo("body");   
	jQuery("#mask").css("opacity","0.6"); 
	jQuery('#uploadPop').css({top:"200px",left:jQuery(document).width()/2-300});
	jQuery('#uploadPop').show(600);
}
function hideUploadPop(){
	jQuery("#mask").remove();
	jQuery('#uploadPop').hide(600);
}
function uploadComplete(data,msg,states){
	if(states==0){
		alert(msg);
		//upload.reset();
	}else{
		var filename = data.split(',');
		jQuery("#mask").remove();
		jQuery('#uploadPop').hide(600);
		jQuery('#img').attr('innerHTML','<img style="max-width:450px;max-height:450px;width:expression(this.width > 450 && this.width/this.height >=1  ? 450:true);height:expression(this.height >450 && this.width/this.height <1  ? 450:true);" src="__PUBLIC__/Uploads/'+filename[0]+'"/>');
		for(i=0;i<filename.length;i++){
			jQuery('#img'+(i+1)).attr('innerHTML','<img style="max-width:150px;max-height:150px;width:expression(this.width > 150 && this.width/this.height >=1  ? 150:true);height:expression(this.height >150 && this.width/this.height <1  ? 150:true);" src="__PUBLIC__/Uploads/'+filename[i]+'"/>');
			jQuery('#img'+(i+1)+"name").attr('value',filename[i]);
			}
	}
		
}

function deleteImg(id){
	var imgname = jQuery("#imgname").attr('value');
	if(imgname!=""){
		var index = 0;
		for(i=1;i<=5;i++){
			if(imgname==jQuery("#img"+i+"name").attr('value')){
				index = i;
			}
		}
		if(index!=0){
			ThinkAjax.send('__URL__/deleteImg','ajax=1&index='+index+"&id="+id,completeDeleteImg,'');
		}else{
			alert("删除图片不存在，请刷新页面重试！");
		}
		
	}
}

function completeDeleteImg(data,status,info){
	if(status==0){
		alert(info);
		return;
	}
	jQuery("#imgname").attr('value','');
	jQuery("#img").attr('innerHTML','');	
	jQuery("#img"+data+"name").attr('value','');
	jQuery("#img"+data).attr('innerHTML','');
}

function edit(){
	jQuery("<div id='mask' style='width:100%;height:"+jQuery(document).height()+"px;position:absolute; background-color:#dfdfdf;left:0;top:0;z-index:2;'></div>").appendTo("body");   
	jQuery("#mask").css("opacity","0.6"); 
	jQuery('#editPop').css({top:"200px",left:jQuery(document).width()/2-300});
	jQuery('#editPop').show(600);
}

function editdetailmore(){
	jQuery("<div id='mask' style='width:100%;height:"+jQuery(document).height()+"px;position:absolute; background-color:#dfdfdf;left:0;top:0;z-index:2;'></div>").appendTo("body");   
	jQuery("#mask").css("opacity","0.6"); 
	jQuery('#editdetailmore').css({top:jQuery(window).height(),left:jQuery(document).width()/2-512});
	jQuery('#editdetailmore').show(600);
}

function hideEditmore(){
	jQuery("#mask").remove();
	jQuery("#editdetailmore").hide(600);
}

function hideEditPop(){
	jQuery("#mask").remove();
	jQuery("#editPop").hide(600);
}

function editMcd(){
	var speed = 500;
	var price = jQuery('#mcd_price').attr('value');
	var num = jQuery('#mcd_num').attr('value');
    var description = jQuery('#mcd_description').val();
	if(!(/^(\+)?\d+(\.\d+)?$/.test(price))){
		alert("价格必须是数值！"); 
	    jQuery('#mcd_price').focus();
	    return ;  
	}
	if(!(/^(\+)?\d+$/.test( num ))){
	    alert("数量必须是正整数！"); 
	    jQuery('#mcd_num').focus();
	    return ;  
	}
    if(description.length>150){
        alert("描述不能超过150个字符！"); 
	    jQuery('#mcd_description').focus();
        return ;
    }

	ThinkAjax.sendForm('edit','__URL__/editMcd',completeEditMcd,'result');
	
}

function completeEditMcd(data,status,info){
	if(status==0){
		alert(info);
		return;
	}
	hideEditPop();
	location.reload(true); 
	
}

function editDetailmore(){
     ThinkAjax.sendForm('formDetail','__URL__/updateDetail',completeEditDetail,'result');
}

function completeEditDetail(data,status,info){
	if(status==0){
		alert(info);
		return;
	}
	hideEditmore();
	location.reload(true); 
	
}


function search(){
	window.location = "__APP__/Search?kw="+encodeURI(document.getElementById('kw').value);
}

</script>
</head>
<body>
	<div style="width:1004px;margin:0 auto;"> 
    <div style="height:100px">
        <div class="header_left">
        	<div><span style="font-size:30px;font-weight:200;">袁&nbsp;衣&nbsp;一&nbsp;中&nbsp;国</span><span>门&nbsp;店</span><span>店&nbsp;商</span><span>服&nbsp;务</span></div>
        	<div><input id="kw" type="text" name="search" onkeydown='if(event.keyCode==13){javascript:search();}' value="{$kw}"/><input style="height:30px" type="button" onclick="javascript:search();" value="搜&nbsp;索"/></div>
        </div>
        <div class="header_middle">
        	<div><a href="__URL__/recharge">点额充值</a></div>
            <div><span id="pointcard">剩余额数：{$vo.suser_pointcard}</span></div>
        </div>
        <div class="header_right">
        	<div style="margin-bottom:5px;"><span>地址：{$vo.store_address}</span></div>
            <div><span>电话:{$vo.suser_tel}</span></div>
        </div>  
    </div>
    <div id="storeInfoshow">
        <ul>
            <li style="margin-left:15px;">用户ID:{$vo.suser_id}</li>
            <li>经营方式:        			
            	<switch name="vo.store_type">
                    <case value="1">门店商</case>
                    <case value="2">批货商</case>
                    <case value="3">服务商</case>
     	         </switch></li>
            <li>经营类别:{$vo.store_category}</li>
            <li>QQ:{$vo.suser_qq}</li>
            <li><a href="__URL__/edit">资料修改</a></li>
            <li style="margin-right:20px;"><a href="__URL__">返回</a></li>
            <li style="float:right;margin-right:15px;"><a href="__APP__/Public/logout">退出</a></li>
        </ul>
    </div>
    <div style="width:100%;">
    	 <div class="xltitle"><span class="storeName">{$vo.store_name}</span><div style="float:right;margin-right:20px;"><span><input type="checkbox" id="s"/><label for="s" id='showall'>展开全选系列</label></span><span style="margin:0 10px;"><input type="checkbox" id="a" /><label for="a" id='showcheck'>展开所选系列</label></span><span style="margin:0 10px;">货架总数：<span id="seriescount">{$seriescount}</span></span><span style="margin:0 0 0 10px;;">商品总数: <span id="commoditycount">{$commoditycount}</span></span></div></div>
        <div id="editDiv">
        	<div class="lystore">诚信联营店：<a target="_blank" href="http://{$mcd.mcd_actshopurl}">{$mcd.mcd_actshopname}</a></div>
        	<div class="imgupload">
        		<div class="toolbar" >
        			<div style="float:left;"><a href="javascript:active('{$mcd.mcd_id}');">货品上架<a/></div> 
        			<div style="float:right;"><a href="javascript:deleteImg('{$mcd.mcd_id}');">删除</a></div> 
        		</div>
        		<div  style="margin:5px 10px;">
        			<input type="hidden" id="seriesId" value="{$seriesId}"/>
        			<input type="hidden" id="level" value="{$level}"/>
        			<input type="hidden" id="imgname" value="{$mcd.mcd_subimage1}"/>
        			<input type="hidden" id="img1name" value="{$mcd.mcd_subimage1}"/>
        			<input type="hidden" id="img2name" value="{$mcd.mcd_subimage2}"/>
        			<input type="hidden" id="img3name" value="{$mcd.mcd_subimage3}"/>
        			<input type="hidden" id="img4name" value="{$mcd.mcd_subimage4}"/>
        			<input type="hidden" id="img5name" value="{$mcd.mcd_subimage5}"/>
        			<div id="img" class="mainImg">
        				<notempty name="mcd.mcd_subimage1">
        					<img class="subImg" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage1}"/>
        				</notempty>
        			</div>
					<div id="imgPrivew">
						<div id="img1" class="imgPrivewShow">
							<notempty name="mcd.mcd_subimage1">
								<img class="imgPrivewShow_img" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage1}"/>
							</notempty>
						</div>
						<div class="imgPrivewLine">
							<div id="img2" class="imgPrivewShow" style="float:left">
								<notempty name="mcd.mcd_subimage2">
								 <img class="imgPrivewShow_img" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage2}"/>
								</notempty>
							</div>
							<div id="img3" class="imgPrivewShow" style="float:left">
								<notempty name="mcd.mcd_subimage3">
								<img class="imgPrivewShow_img" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage3}"/>
								</notempty>
							</div>
						</div>
						<div class="imgPrivewLine">
							<div id="img4" class="imgPrivewShow" style="float:left">
								<notempty name="mcd.mcd_subimage4">
									<img class="imgPrivewShow_img" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage4}"/>
								</notempty>
							</div>
							<div id="img5" class="imgPrivewShow" style="float:left">
								<notempty name="mcd.mcd_subimage5">
									<img class="imgPrivewShow_img" src="__PUBLIC__/Uploads/{$mcd.mcd_subimage5}"/>
								</notempty>
							</div>
						</div>
						<div></div>
        			</div>
        		</div>
        	</div>
        	<div id="parametersEdit">
        		<ul>
        			<li>货号：{$mcd.mcd_itemno}</li>
        			<li>名称：{$mcd.mcd_title}</li>
        			<li>价格：{$mcd.mcd_price}</li>
        			<li>数量：{$mcd.mcd_num}</li>
        			<li>详情：{$mcd.mcd_description}</li>
        			<li></li>
        			<div id="editButton"><a href="javascript:edit();">编辑</a></div>
        		</ul>
        		
        	</div>
        </div>
        </div>
        <div style="height:70px;">
        <div style="margin:5px 15px;width:400px;float:left;">
            <div style="margin:5px 0px"><span>直接联系送货商可进行购买送货服务</span></div>
            <div  style="margin:5px 0px"><span style="display:block;float:left;margin-right:10px;">电话：{$mcd.mcd_tel}</span>  <a href="http://wpa.qq.com/msgrd?V=1&amp;Uin={$suser.suser_qq}&amp;Site=中国站长天空&amp;Menu=yes" target="_blank"><img style="margin-top: -5px;" src="http://wpa.qq.com/pa?p=1:{$mcd.mcd_qq}:7" alt="点击这里给我发送消息" border="0"></a></div>
        </div>
        <div style="height:30px;float:right;margin:15px 100px 0;"><a href="javascript:editdetailmore();" style="cursor:pointer" id="editmore">编辑更多详情>></a><div id="detail" style="float:right;color:blue;cursor:pointer;margin:0 20px;">查看更多详情>></div></div>
        </div>
        <div  id="detailc" style="mix-height:200px;background:#EEE;1px solid #D5D5D5;display:none;padding:5px;">
            {$mcd.mcd_detail}
        </div>
        <!-- 商品系列A -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>A</span>
        		<input type="checkbox" id="checkbox_A"/>
        		<span id="series_A">                   
        			<switch name="series.series_A">
                        <case value="">商品系列</case>
                        <default/>{$series.series_A}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_A" class="createShelves">新建货架</span>
	        	<span id="showOrHide_A" class="showOrHide">
	        		<switch name="series.series_A_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','A')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','A')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_A">{$commoditycount_A}</span></span>
	        </div>
	    </div>
	    <div id="store_A" class="store">
	    	<input type="hidden" id ="store_A_snum" value="{$surpluscount_A}"/>
	    	<input type="hidden" id ="store_A_lnum" value="{$linecount_A}"/>
	    	<volist name="series_A" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_A_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    	
	    
	    <!-- 商品系列B -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>B</span>
        		<input type="checkbox" id="checkbox_B"/>
        		<span id="series_B">                   
        			<switch name="series.series_B">
                        <case value="">商品系列</case>
                        <default/>{$series.series_B}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_B" class="createShelves">新建货架</span>
	        	<span id="showOrHide_B" class="showOrHide">
	        		<switch name="series.series_B_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','B')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','B')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_B">{$commoditycount_B}</span></span>
	        </div>
	    </div>
	    <div id="store_B" class="store">
	    	<input type="hidden" id ="store_B_snum" value="{$surpluscount_B}"/>
	    	<input type="hidden" id ="store_B_lnum" value="{$linecount_B}"/>
	    	<volist name="series_B" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_A_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    
	    <!-- 商品系列C -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>C</span>
        		<input type="checkbox" id="checkbox_C"/>
        		<span id="series_C">                   
        			<switch name="series.series_C">
                        <case value="">商品系列</case>
                        <default/>{$series.series_C}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_C" class="createShelves">新建货架</span>
	        	<span id="showOrHide_C" class="showOrHide">
	        		<switch name="series.series_C_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','C')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','C')">显示</a></case>
	     	         	<default/><a href="javascript:showOrHideSeries('{$series.series_sid}','1','C')">隐藏</a>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_C">{$commoditycount_C}</span></span>
	        </div>
	    </div>
	    <div id="store_C" class="store">
	    	<input type="hidden" id ="store_C_snum" value="{$surpluscount_C}"/>
	    	<input type="hidden" id ="store_C_lnum" value="{$linecount_C}"/>
	    	<volist name="series_C" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_C_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列D -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>D</span>
        		<input type="checkbox" id="checkbox_D"/>
        		<span id="series_D">                   
        			<switch name="series.series_D">
                        <case value="">商品系列</case>
                        <default/>{$series.series_D}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_D" class="createShelves">新建货架</span>
	        	<span id="showOrHide_D" class="showOrHide">
	        		<switch name="series.series_D_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','D')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','D')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_D">{$commoditycount_D}</span></span>
	        </div>
	    </div>
	    <div id="store_D" class="store">
	    	<input type="hidden" id ="store_D_snum" value="{$surpluscount_D}"/>
	    	<input type="hidden" id ="store_D_lnum" value="{$linecount_D}"/>
	    	<volist name="series_D" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_D_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列E -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>E</span>
        		<input type="checkbox" id="checkbox_E"/>
        		<span id="series_E">                   
        			<switch name="series.series_E">
                        <case value="">商品系列</case>
                        <default/>{$series.series_E}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_E" class="createShelves">新建货架</span>
	        	<span id="showOrHide_E" class="showOrHide">
	        		<switch name="series.series_E_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','E')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','E')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_E">{$commoditycount_E}</span></span>
	        </div>
	    </div>
	    <div id="store_E" class="store">
	    	<input type="hidden" id ="store_E_snum" value="{$surpluscount_E}"/>
	    	<input type="hidden" id ="store_E_lnum" value="{$linecount_E}"/>
	    	<volist name="series_E" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_E_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列F -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>F</span>
        		<input type="checkbox" id="checkbox_F"/>
        		<span id="series_F">                   
        			<switch name="series.series_F">
                        <case value="">商品系列</case>
                        <default/>{$series.series_F}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_F" class="createShelves">新建货架</span>
	        	<span id="showOrHide_F" class="showOrHide">
	        		<switch name="series.series_F_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','F')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','F')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_F">{$commoditycount_F}</span></span>
	        </div>
	    </div>
	    <div id="store_F" class="store">
	    	<input type="hidden" id ="store_F_snum" value="{$surpluscount_F}"/>
	    	<input type="hidden" id ="store_F_lnum" value="{$linecount_F}"/>
	    	<volist name="series_F" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_F_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>

	    <!-- 商品系列G -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>G</span>
        		<input type="checkbox" id="checkbox_G"/>
        		<span id="series_G">                   
        			<switch name="series.series_G">
                        <case value="">商品系列</case>
                        <default/>{$series.series_G}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_G" class="createShelves">新建货架</span>
	        	<span id="showOrHide_G" class="showOrHide">
	        		<switch name="series.series_G_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','G')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','G')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_G">{$commoditycount_G}</span></span>
	        </div>
	    </div>
	    <div id="store_G" class="store">
	    	<input type="hidden" id ="store_G_snum" value="{$surpluscount_G}"/>
	    	<input type="hidden" id ="store_G_lnum" value="{$linecount_G}"/>
	    	<volist name="series_G" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_G_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列H -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>H</span>
        		<input type="checkbox" id="checkbox_H"/>
        		<span id="series_H">                   
        			<switch name="series.series_H">
                        <case value="">商品系列</case>
                        <default/>{$series.series_H}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_H" class="createShelves">新建货架</span>
	        	<span id="showOrHide_H" class="showOrHide">
	        		<switch name="series.series_H_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','H')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','H')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_H">{$commoditycount_H}</span></span>
	        </div>
	    </div>
	    <div id="store_H" class="store">
	    	<input type="hidden" id ="store_H_snum" value="{$surpluscount_H}"/>
	    	<input type="hidden" id ="store_H_lnum" value="{$linecount_H}"/>
	    	<volist name="series_H" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_H_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列I -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>I</span>
        		<input type="checkbox" id="checkbox_I"/>
        		<span id="series_I">                   
        			<switch name="series.series_I">
                        <case value="">商品系列</case>
                        <default/>{$series.series_I}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_I" class="createShelves">新建货架</span>
	        	<span id="showOrHide_I" class="showOrHide">
	        		<switch name="series.series_I_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','I')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','I')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_I">{$commoditycount_I}</span></span>
	        </div>
	    </div>
	    <div id="store_I" class="store">
	    	<input type="hidden" id ="store_I_snum" value="{$surpluscount_I}"/>
	    	<input type="hidden" id ="store_I_lnum" value="{$linecount_I}"/>
	    	<volist name="series_I" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_I_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列J -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>J</span>
        		<input type="checkbox" id="checkbox_J"/>
        		<span id="series_J">                   
        			<switch name="series.series_J">
                        <case value="">商品系列</case>
                        <default/>{$series.series_J}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_J" class="createShelves">新建货架</span>
	        	<span id="showOrHide_J" class="showOrHide">
	        		<switch name="series.series_J_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','J')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','J')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_J">{$commoditycount_J}</span></span>
	        </div>
	    </div>
	    <div id="store_J" class="store">
	    	<input type="hidden" id ="store_J_snum" value="{$surpluscount_J}"/>
	    	<input type="hidden" id ="store_J_lnum" value="{$linecount_J}"/>
	    	<volist name="series_J" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_J_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	   
	   <!-- 商品系列K -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>K</span>
        		<input type="checkbox" id="checkbox_K"/>
        		<span id="series_K">                   
        			<switch name="series.series_K">
                        <case value="">商品系列</case>
                        <default/>{$series.series_K}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_K" class="createShelves">新建货架</span>
	        	<span id="showOrHide_K" class="showOrHide">
	        		<switch name="series.series_K_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','K')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','K')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_K">{$commoditycount_K}</span></span>
	        </div>
	    </div>
	    <div id="store_K" class="store">
	    	<input type="hidden" id ="store_K_snum" value="{$surpluscount_K}"/>
	    	<input type="hidden" id ="store_K_lnum" value="{$linecount_K}"/>
	    	<volist name="series_K" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_K_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列L -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>L</span>
        		<input type="checkbox" id="checkbox_L"/>
        		<span id="series_L">                   
        			<switch name="series.series_L">
                        <case value="">商品系列</case>
                        <default/>{$series.series_L}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_L" class="createShelves">新建货架</span>
	        	<span id="showOrHide_L" class="showOrHide">
	        		<switch name="series.series_L_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','L')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','L')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_L">{$commoditycount_L}</span></span>
	        </div>
	    </div>
	    <div id="store_L" class="store">
	    	<input type="hidden" id ="store_L_snum" value="{$surpluscount_L}"/>
	    	<input type="hidden" id ="store_L_lnum" value="{$linecount_L}"/>
	    	<volist name="series_L" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_L_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列M -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>M</span>
        		<input type="checkbox" id="checkbox_M"/>
        		<span id="series_M">                   
        			<switch name="series.series_M">
                        <case value="">商品系列</case>
                        <default/>{$series.series_M}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_M" class="createShelves">新建货架</span>
	        	<span id="showOrHide_M" class="showOrHide">
	        		<switch name="series.series_M_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','M')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','M')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_M">{$commoditycount_M}</span></span>
	        </div>
	    </div>
	    <div id="store_M" class="store">
	    	<input type="hidden" id ="store_M_snum" value="{$surpluscount_M}"/>
	    	<input type="hidden" id ="store_M_lnum" value="{$linecount_M}"/>
	    	<volist name="series_M" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_M_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列N -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>N</span>
        		<input type="checkbox" id="checkbox_N"/>
        		<span id="series_N">                   
        			<switch name="series.series_N">
                        <case value="">商品系列</case>
                        <default/>{$series.series_N}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_N" class="createShelves">新建货架</span>
	        	<span id="showOrHide_N" class="showOrHide">
	        		<switch name="series.series_N_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','N')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','N')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_N">{$commoditycount_N}</span></span>
	        </div>
	    </div>
	    <div id="store_N" class="store">
	    	<input type="hidden" id ="store_N_snum" value="{$surpluscount_N}"/>
	    	<input type="hidden" id ="store_N_lnum" value="{$linecount_N}"/>
	    	<volist name="series_N" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_N_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列O -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>O</span>
        		<input type="checkbox" id="checkbox_O"/>
        		<span id="series_O">                   
        			<switch name="series.series_O">
                        <case value="">商品系列</case>
                        <default/>{$series.series_O}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_O" class="createShelves">新建货架</span>
	        	<span id="showOrHide_O" class="showOrHide">
	        		<switch name="series.series_O_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','O')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','O')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_O">{$commoditycount_O}</span></span>
	        </div>
	    </div>
	    <div id="store_O" class="store">
	    	<input type="hidden" id ="store_O_snum" value="{$surpluscount_O}"/>
	    	<input type="hidden" id ="store_O_lnum" value="{$linecount_O}"/>
	    	<volist name="series_O" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_O_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列P -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>P</span>
        		<input type="checkbox" id="checkbox_P"/>
        		<span id="series_P">                   
        			<switch name="series.series_P">
                        <case value="">商品系列</case>
                        <default/>{$series.series_P}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_P" class="createShelves">新建货架</span>
	        	<span id="showOrHide_P" class="showOrHide">
	        		<switch name="series.series_P_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','P')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','P')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_P">{$commoditycount_P}</span></span>
	        </div>
	    </div>
	    <div id="store_P" class="store">
	    	<input type="hidden" id ="store_P_snum" value="{$surpluscount_P}"/>
	    	<input type="hidden" id ="store_P_lnum" value="{$linecount_P}"/>
	    	<volist name="series_P" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_P_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列Q -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>Q</span>
        		<input type="checkbox" id="checkbox_Q"/>
        		<span id="series_Q">                   
        			<switch name="series.series_Q">
                        <case value="">商品系列</case>
                        <default/>{$series.series_Q}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_Q" class="createShelves">新建货架</span>
	        	<span id="showOrHide_Q" class="showOrHide">
	        		<switch name="series.series_Q_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','Q')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','Q')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_Q">{$commoditycount_Q}</span></span>
	        </div>
	    </div>
	    <div id="store_Q" class="store">
	    	<input type="hidden" id ="store_Q_snum" value="{$surpluscount_Q}"/>
	    	<input type="hidden" id ="store_Q_lnum" value="{$linecount_Q}"/>
	    	<volist name="series_Q" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_Q_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列R -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>R</span>
        		<input type="checkbox" id="checkbox_R"/>
        		<span id="series_R">                   
        			<switch name="series.series_R">
                        <case value="">商品系列</case>
                        <default/>{$series.series_R}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createRhelves_R" class="createShelves">新建货架</span>
	        	<span id="showOrHide_R" class="showOrHide">
	        		<switch name="series.series_R_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','R')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','R')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_R">{$commoditycount_R}</span></span>
	        </div>
	    </div>
	    <div id="store_R" class="store">
	    	<input type="hidden" id ="store_R_snum" value="{$surpluscount_R}"/>
	    	<input type="hidden" id ="store_R_lnum" value="{$linecount_R}"/>
	    	<volist name="series_R" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_R_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列S -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>S</span>
        		<input type="checkbox" id="checkbox_S"/>
        		<span id="series_S">                   
        			<switch name="series.series_S">
                        <case value="">商品系列</case>
                        <default/>{$series.series_S}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_S" class="createShelves">新建货架</span>
	        	<span id="showOrHide_S" class="showOrHide">
	        		<switch name="series.series_S_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','S')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','S')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_S">{$commoditycount_S}</span></span>
	        </div>
	    </div>
	    <div id="store_S" class="store">
	    	<input type="hidden" id ="store_S_snum" value="{$surpluscount_S}"/>
	    	<input type="hidden" id ="store_S_lnum" value="{$linecount_S}"/>
	    	<volist name="series_S" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_S_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列T -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>T</span>
        		<input type="checkbox" id="checkbox_T"/>
        		<span id="series_T">                   
        			<switch name="series.series_T">
                        <case value="">商品系列</case>
                        <default/>{$series.series_T}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_T" class="createShelves">新建货架</span>
	        	<span id="showOrHide_T" class="showOrHide">
	        		<switch name="series.series_T_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','T')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','T')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_T">{$commoditycount_T}</span></span>
	        </div>
	    </div>
	    <div id="store_T" class="store">
	    	<input type="hidden" id ="store_T_snum" value="{$surpluscount_T}"/>
	    	<input type="hidden" id ="store_T_lnum" value="{$linecount_T}"/>
	    	<volist name="series_T" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_T_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列U -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>U</span>
        		<input type="checkbox" id="checkbox_U"/>
        		<span id="series_U">                   
        			<switch name="series.series_U">
                        <case value="">商品系列</case>
                        <default/>{$series.series_U}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_U" class="createShelves">新建货架</span>
	        	<span id="showOrHide_U" class="showOrHide">
	        		<switch name="series.series_U_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','U')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','U')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_U">{$commoditycount_U}</span></span>
	        </div>
	    </div>
	    <div id="store_U" class="store">
	    	<input type="hidden" id ="store_U_snum" value="{$surpluscount_U}"/>
	    	<input type="hidden" id ="store_U_lnum" value="{$linecount_U}"/>
	    	<volist name="series_U" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_U_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    	
	    <!-- 商品系列V -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>V</span>
        		<input type="checkbox" id="checkbox_V"/>
        		<span id="series_V">                   
        			<switch name="series.series_V">
                        <case value="">商品系列</case>
                        <default/>{$series.series_V}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_V" class="createShelves">新建货架</span>
	        	<span id="showOrHide_V" class="showOrHide">
	        		<switch name="series.series_V_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','V')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','V')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_V">{$commoditycount_V}</span></span>
	        </div>
	    </div>
	    <div id="store_V" class="store">
	    	<input type="hidden" id ="store_V_snum" value="{$surpluscount_V}"/>
	    	<input type="hidden" id ="store_V_lnum" value="{$linecount_V}"/>
	    	<volist name="series_V" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_V_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列W -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>W</span>
        		<input type="checkbox" id="checkbox_W"/>
        		<span id="series_W">                   
        			<switch name="series.series_W">
                        <case value="">商品系列</case>
                        <default/>{$series.series_W}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_W" class="createShelves">新建货架</span>
	        	<span id="showOrHide_W" class="showOrHide">
	        		<switch name="series.series_W_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','W')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','W')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_W">{$commoditycount_W}</span></span>
	        </div>
	    </div>
	    <div id="store_W" class="store">
	    	<input type="hidden" id ="store_W_snum" value="{$surpluscount_W}"/>
	    	<input type="hidden" id ="store_W_lnum" value="{$linecount_W}"/>
	    	<volist name="series_W" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_W_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    
	    <!-- 商品系列X -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>X</span>
        		<input type="checkbox" id="checkbox_X"/>
        		<span id="series_X">                   
        			<switch name="series.series_X">
                        <case value="">商品系列</case>
                        <default/>{$series.series_X}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_X" class="createShelves">新建货架</span>
	        	<span id="showOrHide_X" class="showOrHide">
	        		<switch name="series.series_X_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','X')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','X')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_X">{$commoditycount_X}</span></span>
	        </div>
	    </div>
	    <div id="store_X" class="store">
	    	<input type="hidden" id ="store_X_snum" value="{$surpluscount_X}"/>
	    	<input type="hidden" id ="store_X_lnum" value="{$linecount_X}"/>
	    	<volist name="series_X" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_X_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>

		<!-- 商品系列Y -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>Y</span>
        		<input type="checkbox" id="checkbox_Y"/>
        		<span id="series_Y">                   
        			<switch name="series.series_Y">
                        <case value="">商品系列</case>
                        <default/>{$series.series_Y}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_Y" class="createShelves">新建货架</span>
	        	<span id="showOrHide_Y" class="showOrHide">
	        		<switch name="series.series_Y_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','Y')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','Y')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_Y">{$commoditycount_Y}</span></span>
	        </div>
	    </div>
	    <div id="store_Y" class="store">
	    	<input type="hidden" id ="store_Y_snum" value="{$surpluscount_Y}"/>
	    	<input type="hidden" id ="store_Y_lnum" value="{$linecount_Y}"/>
	    	<volist name="series_Y" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_Y_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    	    
	    <!-- 商品系列Z -->
        <div class="xllist">
        	<span style="margin-left:20px;float:left;">
        		<span>Z</span>
        		<input type="checkbox" id="checkbox_Z"/>
        		<span id="series_Z">                   
        			<switch name="series.series_Z">
                        <case value="">商品系列</case>
                        <default/>{$series.series_Z}
      	            </switch>
        		</span>
        	</span>
	        <div id="storetool">
	        	<span id="createShelves_Z" class="createShelves">新建货架</span>
	        	<span id="showOrHide_Z" class="showOrHide">
	        		<switch name="series.series_Z_show">
	                    <case value="0"><a href="javascript:showOrHideSeries('{$series.series_sid}','1','Z')">隐藏</a></case>
	                    <case value="1"><a href="javascript:showOrHideSeries('{$series.series_sid}','0','Z')">显示</a></case>
	     	         </switch>
	        	</span>
	        	<span style="margin:0 0 0 10px;">商品数: <span id="commoditycount_Z">{$commoditycount_Z}</span></span>
	        </div>
	    </div>
	    <div id="store_Z" class="store">
	    	<input type="hidden" id ="store_Z_snum" value="{$surpluscount_Z}"/>
	    	<input type="hidden" id ="store_Z_lnum" value="{$linecount_Z}"/>
	    	<volist name="series_Z" id="vo" mod="5">
	    		<eq name="mod" value="1"><div id="shelves_Z_{$key/5|floor}" style="width:100%;height:255px; <?php if((floor($key/5)%2)!==0) {echo 'background:#dfdfdd;';} ?>"></eq>
					<div id="{$vo.mcd_id}" class="mcd_id">
					    <div class="mcd_content">
						    <a href="__URL__/showCommodity/mcd_mid/{$vo.mcd_id}/level/{$level}">
						    	<if condition="$vo['mcd_subimage1'] neq ''">
						    		<img id="1" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage1}"/>
						    	<elseif condition="$vo['mcd_subimage2'] neq ''"/>
						    		<img id="2" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage2}"/>
						    	<elseif condition="$vo['mcd_subimage3'] neq ''"/>
						    		<img id="3" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage3}"/>
						    	<elseif condition="$vo['mcd_subimage4'] neq ''"/>
						    		<img id="4" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage4}"/>
						    	<elseif condition="$vo['mcd_subimage5'] neq ''"/>
						    		<img id="5" class="img" src="__PUBLIC__/Uploads/{$vo.mcd_subimage5}"/>
						    	<else/>
						    		<span class="storein">点击进入货品上架</span>
						    	</if>
						    </a>
					    </div>
					    <div class="canshu">
					        <ul>
					            <li>货号：{$vo.mcd_itemno}</li>
					            <li>名称：{$vo.mcd_title}</li>
					            <li>价格：{$vo.mcd_price}</li>
					            <li>数量：{$vo.mcd_num}</li>
					            <div class="canshu_delete"><a href="javascript:deleteStore('{$vo.mcd_id}')">删除</a></div>
					        </ul>
					    </div>
					</div> 
	    		<eq name="mod" value="0"></div></eq>
	    	</volist>
	    	</div>
	    	    	</div>
	    
        <div style="height:20px;"><span style="margin-left:20px;"></span></div>
        <div class="xltitle" style=" text-align:center"><span style="margin:0 auto;">许可证编号：陕ICP备案1020050&nbsp;&nbsp;&nbsp;&nbsp;袁衣一中国&nbsp;&nbsp;&nbsp;&nbsp;版权所有</span></div>
    </div>
    <div id="shelvesPop" style="width:200px; height:50px; border:1px solid #666; background-color:#CCC; position:absolute; padding:10px 20px; display:none;">
		<div><span style="font-size:12px; float:left;height:25px;line-height:25px;">货架数量:</span><input id="txtShelves" type="text" size="15" /><input type="hidden" id="indexShelves" value=""/><input type="hidden" id="mid" value="{$mcd.mcd_id}"/></div>
		<div style="text-align:center;"><input type="button" value="确认" onclick="javascript:createShelves()" /><input type="button" value="取消" onclick="javascript:cancelPop('shelvesPop')" /></div>
	</div>
    <div id="seriesPop" style="width:200px; height:50px; border:1px solid #666; background-color:#CCC; position:absolute; padding:10px 20px; display:none;">
		<div><span style="font-size:12px; float:left;height:25px;line-height:25px;">商品系列:</span><input id="txtSeries" type="text" size="15" /><input type="hidden" id="indexSeries" value=""/></div>
		<div style="text-align:center;"><input type="button" value="确认" onclick="javascript:updateSeries();" /><input type="button" value="取消" onclick="javascript:cancelPop('seriesPop')" /></div>
	</div>
	<div id="uploadPop" style="width:600px; height:400px;font-size:12px; border:1px solid #666; background-color:#e7e7e7; position:absolute; padding:5px 5px; display:none;z-index:3;">
		<form id="upload" name="upload" method='post' action="__URL__/upload/" enctype="multipart/form-data" target="ajaxUpload">
		<input type="hidden" name="_AJAX_SUBMIT_" value="1"/>
		<input type="hidden" name="id" value="{$mcd.mcd_id}"/>
		<iframe name="ajaxUpload" src="" frameborder="0"  scrolling="no" style="display:none"></iframe> 
		<input type="hidden" name="_uploadResponse" value="uploadComplete"/> 
		
		<div style="width:100%;height:20px;"><div style="float:right"><a href="javascript:hideUploadPop();"><img src="__PUBLIC__/images/close.jpg"/></a></div></div>
       		<div  style="margin:5px 20px;">
       			<div style="width:100%;margin:10px;height:20px;">
       				<div style="float:left;margin-left:40px;font-size:12px;">货品摆放位置提示：</div><div style="float:right;margin-right:150px;font-size:12px;">货品图片上传：</div>
				</div>
				<div style="float:left;width:200px;height:350px">
					<div style="background:#fff;margin:0 auto;border:1px solid #dfdfea;width:100px;height:100px">
						<span style="display:block;height:100px;line-height:100px;width:100%;text-align:center;">商品图片1</span>
					</div>
					<div style="margin:0 auto;height:100px;width:210px">
						<div style="background:#fff;float:left;border:1px solid #dfdfea;width:100px;height:100px">
							<span style="display:block;height:100px;line-height:100px;width:100%;text-align:center;">商品图片2</span>
						</div>
						<div style="background:#fff;float:left;border:1px solid #dfdfea;width:100px;height:100px">
							<span style="display:block;height:100px;line-height:100px;width:100%;text-align:center;">商品图片3</span>
						</div>
					</div>
					<div style="margin:0 auto;height:100px;width:210px">
						<div style="background:#fff;float:left;border:1px solid #dfdfea;width:100px;height:100px">
							<span style="display:block;height:100px;line-height:100px;width:100%;text-align:center;">商品图片4</span>
						</div>
						<div style="background:#fff;float:left;border:1px solid #dfdfea;width:100px;height:100px">
							<span style="display:block;height:100px;line-height:100px;width:100%;text-align:center;">商品图片5</span>
						</div>
					</div>
       			</div>
       			<div style="float:right;width:320px;height:350px;">
       				<div style="height:20px;line-height: 20px;width:100%;margin:15px;"><div style="float:left;line-height: 25px;"><span>商品图片1：</span></div><div style="float:left;"><input type="file" name="img1"/></div></div>
       				<div style="height:20px;line-height: 20px;width:100%;margin:15px;"><div style="float:left;line-height: 25px;"><span>商品图片2：</span></div><div style="float:left;"><input type="file" name="img2"/></div></div>
       				<div style="height:20px;line-height: 20px;width:100%;margin:15px;"><div style="float:left;line-height: 25px;"><span>商品图片3：</span></div><div style="float:left;"><input type="file" name="img3"/></div></div>
       				<div style="height:20px;line-height: 20px;width:100%;margin:15px;"><div style="float:left;line-height: 25px;"><span>商品图片4：</span></div><div style="float:left;"><input type="file" name="img4"/></div></div>
       				<div style="height:20px;line-height: 20px;width:100%;margin:15px;"><div style="float:left;line-height: 25px;"><span>商品图片5：</span></div><div style="float:left;"><input type="file" name="img5"/></div></div>
       				<div style="margin:15px 50px;"><input type="submit" value="提交" style="width:100px;"/></div>
       				<div style="margin:15px 50px;"><input type="button" value="取消" onclick="javascript:hideUploadPop();" style="width:100px;"/></div>
       			</div>
       		</div>
		</form>
	</div>
	
	
	<div id="editPop" style="width:600px; height:400px;font-size:12px; border:1px solid #666; background-color:#e7e7e7; position:absolute; padding:5px 5px;z-index:3;display:none">
		<form id="edit" name="edit" method='post' action="__URL__/edit/">
		<input type="hidden" name="id" id="mcd_id" value="{$mcd.mcd_id}"/>
		
		<div style="width:100%;height:20px;"><div style="float:right"><a href="javascript:hideEditPop();"><img src="__PUBLIC__/images/close.jpg"/></a></div></div>
       		<div  style="margin:5px 20px;">
       			<div style="width:100%;margin:10px;height:50px;">
       				<div style="float:left;width:30%;height:50px">
       					<div style="margin:5px;">同类商品联营店</div>
       					<div ><input name="mcd_actshopname" value="{$mcd.mcd_actshopname}"/></div>
       				</div>
       				<div style="float:left;margin-left:20px;width:60%;height:50px">
       					<div style="margin:5px;">网店地址代码：</div>
       					<div ><input name="mcd_actshopurl" style="width:300px" value="{$mcd.mcd_actshopurl}"/></div>
       				</div>
				</div>
				<div style="float:left;width:200px;height:350px">
					<div>编辑详情：</div>
					<div><textarea id="mcd_description" name="mcd_description" rows="12" cols="32">{$mcd.mcd_description}</textarea></div>
       			</div>
       			<div style="float:right;width:250px;height:350px;">
				    <ul style="padding:0; font-size:12px; position:relative">
	        			<li style="height:30px;line-height:30px;">货号：<input id="mcd_itemno" name="mcd_itemno" value="{$mcd.mcd_itemno}"/></li>
	        			<li style="height:30px;line-height:30px;">名称：<input id="mcd_title" name="mcd_title" value="{$mcd.mcd_title}"/></li>
	        			<li style="height:30px;line-height:30px;">价格：<input id="mcd_price" name="mcd_price" value="{$mcd.mcd_price}"/></li>
	        			<li style="height:30px;line-height:30px;">数量：<input id="mcd_num" name="mcd_num" value="{$mcd.mcd_num}"/></li>
				    </ul>
	                <ul>
                    <li>送货商联系方式：</li>
                    <li style="height:30px;line-height:30px;">电话：<input id="mcd_tel" name="mcd_tel" value="{$mcd.mcd_tel}"/></li>
                    <li style="height:30px;line-height:30px;">Q Q：<input id="mcd_qq" name="mcd_qq" value="{$mcd.mcd_qq}"/></li>
                    </ul>
       				<div style="margin:15px 50px;"><input type="button" value="提交" onclick="javascript:editMcd();" style="width:100px;"/></div>
       				<div style="margin:15px 50px;"><input type="button" value="取消" onclick="javascript:hideEditPop();" style="width:100px;"/></div>
       			</div>
       		</div>
		</form>
	</div>
    
    <div id="editdetailmore" style="width:1024px; height:500px;font-size:12px; border:1px solid #666; background-color:#e7e7e7; position:absolute; padding:5px 5px;z-index:3;display:none;">
        <div style="width:100%;height:20px;"><div style="float:right"><a href="javascript:hideEditmore();"><img src="__PUBLIC__/images/close.jpg"/></a></div></div>
        <form name="formDetail" id="formDetail" method='post' action="__URL__/updateDetail/">
        <textarea id="editmoretext" name="mcd_detail" style="width:1024px;height:440px;visibility:hidden;">{$mcd.mcd_detail}</textarea>
        <input type="hidden"  name="mcd_id" value="{$mcd.mcd_id}"/>
        </form>
        <div style="float:right;margin:10px;"><input style="margin:0 5px;" type="button" value="提交" onclick="javascript:editDetailmore();"/> <input style="margin:0 5px;" type="button" onclick="javascript:hideEditmore();" value="关闭"/></div>
    </div>
	
</body>
</html>